package com.ee.chat.api.vo;

/**
 * 广播用户操作动态
 */
public class OperationMessage {
    /**
     * 消息频道
     */
    private Integer userId;
    private String name;
    private String icon;
    private Integer host;
    private Integer toUserId;
    private String toName;
    private String toIcon;
    private Integer toHost;

    /**
     * 类型id，1-注册 2-上线 3-充值 4-赠送礼物 5-结束通话
     */
    private Integer operationId;

    /**
     * 消息内容，
     */
    private String content;

    public OperationMessage() {
    }

    public OperationMessage(Integer userId, String name, String icon, Integer host, Integer toUserId, String toName, String toIcon, Integer toHost, Integer operationId, String content) {
        this.userId = userId;
        this.name = name;
        this.icon = icon;
        this.host = host;
        this.toUserId = toUserId;
        this.toName = toName;
        this.toIcon = toIcon;
        this.toHost = toHost;
        this.operationId = operationId;
        this.content = content;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getHost() {
        return host;
    }

    public void setHost(Integer host) {
        this.host = host;
    }

    public Integer getToUserId() {
        return toUserId;
    }

    public void setToUserId(Integer toUserId) {
        this.toUserId = toUserId;
    }

    public String getToName() {
        return toName;
    }

    public void setToName(String toName) {
        this.toName = toName;
    }

    public String getToIcon() {
        return toIcon;
    }

    public void setToIcon(String toIcon) {
        this.toIcon = toIcon;
    }

    public Integer getToHost() {
        return toHost;
    }

    public void setToHost(Integer toHost) {
        this.toHost = toHost;
    }

    public Integer getOperationId() {
        return operationId;
    }

    public void setOperationId(Integer operationId) {
        this.operationId = operationId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
